package cn.gd.service.LeaveApplicationService;

import cn.gd.pojo.LeaveAppLiCations;

import java.util.List;

public interface LeaveApplicationService {
    // 获取所有请假申请
    List<LeaveAppLiCations> findAll();
    // 根据ID获取请假申请
    LeaveAppLiCations findById(Integer applicationId);
    // 保存请假申请
    LeaveAppLiCations save(LeaveAppLiCations leaveApplication);
    // 更新请假申请
    LeaveAppLiCations update(LeaveAppLiCations leaveApplication);
    // 删除请假申请
    void deleteById(Integer applicationId);
    //获取审批人
    List<LeaveAppLiCations> getApprover(Integer applicationId);
}
